package com.guge.sports.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Notify对象", description="")
public class Notify extends Model<Notify> implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "nid", type = IdType.AUTO)
    private Long nid;

    @ApiModelProperty(value = "通知标题")
    private String title;

    @ApiModelProperty(value = "通知类型")
    private Integer type;

    @ApiModelProperty(value = "通知人员")
    private String target;

    @ApiModelProperty(value = "通知状态")
    private Integer state;

    @ApiModelProperty(value = "添加时间")
    private Date createTime;

    @ApiModelProperty(value = "操作人名称")
    private String createPerson;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDelete;

    @ApiModelProperty(value = "操作人id")
    private Long createUid;

    @ApiModelProperty(value = "通知图片")
    private String imgUrl;

    @ApiModelProperty(value = "通知内容")
    private String context;


}
